<?php
  include("Service/apility/apility.php");
  include('Service/CommonClass/GetReport.php');

  //before you want to get a report,call this method first.but why is in investigate,
  $acounts = getManagersClientAccounts();

  //this object provides report of any kind
  $geter = new Report();

  //get the report as an array,this parameters are in investigate too
  $arr = $geter->get_campaign_xmlreport('Report Name',
  '2006-09-01',
  '2007-09-01',
  array('Campaign', 'CampaignId'),
  array('Weekly'),
  array(),
  array(),
  array(),
  array(),
  array(),
  array(),
  '',
  '',
  false,
  array(),
  false,
  30,
  false
);
    //show what you've got
    print_r($arr);
?>